<?php
$redis=new \Redis();
//$redis->auth();
$redis->connect('127.0.0.1',6379);

//var_dump($redis->set('name','petert'));

//web端\客户端
var_dump($redis->publish('test','帅的不行的peter'));

